package com.player.thirdGroup.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author ：mmzs
 * @date ：Created in 2019/12/31 20:00
 * @description：用户角色中间表
 * @modified By：
 * @version: 1.0$
 */
@Entity
@Table(name = "sys_role_user")
public class RoleUser implements Serializable {

    @Id
    @Column(name = "role_id")
    private String roleid;
    @Column(name = "user_id")
    private String userid;

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public RoleUser() {
    }

    public RoleUser(String roleid, String userid) {
        this.roleid = roleid;
        this.userid = userid;
    }
}
